+++ /dev/null
-include $(TOPDIR)/rules.mk
-
-PKG_NAME:=ptunnel-ng
-PKG_VERSION:=1.42
-PKG_RELEASE:=2
-
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
-PKG_SOURCE_URL:=https://codeload.github.com/lnslbrty/ptunnel-ng/tar.gz/v$(PKG_VERSION)?
-PKG_HASH:=5ee6b101e4e252ea98e3337da6542d73b7f33de49a89014276cc98a70142ab10
-
-PKG_LICENSE:=BSD-3
-PKG_LICENSE_FILES:=COPYING
-PKG_FIXUP:=autoreconf
-PKG_INSTALL:=1
-
-include $(INCLUDE_DIR)/package.mk
-
-define Package/ptunnel-ng
- SECTION:=net
- CATEGORY:=Network
- DEPENDS:=+libpthread
- TITLE:=PingTunnel [N]ew[G]eneration
- MAINTAINER:=Toni Uhlig <matzeton@googlemail.com>
- URL:=https://github.com/lnslbrty/ptunnel-ng
-endef
-
-define Package/ptunnel-ng/description
- Tunnel TCP connections through ICMP.
-endef
-
-CONFIGURE_ARGS += \
- --disable-pcap \
- --disable-selinux \
- --with-rngdev=/dev/urandom
-
-define Package/ptunnel-ng/install
- $(INSTALL_DIR) $(1)/usr/sbin
- $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/$(PKG_NAME) $(1)/usr/sbin/$(PKG_NAME)
-endef
-
-$(eval $(call BuildPackage,ptunnel-ng))
+++ /dev/null
---- a/src/ptunnel.h
-+++ b/src/ptunnel.h
-@@ -45,9 +45,6 @@
- #define PING_TUNNEL_H 1
-
- #ifndef WIN32
--#ifdef HAVE_ICMPFILTER
--#include <linux/icmp.h>
--#endif
- #ifdef HAVE_SYS_UNISTD_H
- #include <sys/unistd.h>
- #endif
-@@ -56,6 +53,9 @@
- #include <netinet/in.h>
- #include <arpa/inet.h>
- #include <netdb.h>
-+#ifdef HAVE_ICMPFILTER
-+#include <linux/icmp.h>
-+#endif
- #include <pthread.h>
- #include <errno.h>
- #include <net/ethernet.h>